import 'package:get/get.dart';
import 'package:safe_manage/pages/alarm/alarm_handle_page/alarm_handle_page.dart';
import 'package:safe_manage/pages/alarm/alarm_picture_info_page/alarm_picture_info_binding.dart';
import 'package:safe_manage/pages/alarm/alarm_picture_info_page/alarm_picture_info_page.dart';
import 'package:safe_manage/pages/alarm/alarm_picture_list_page/alarm_picture_list_binding.dart';
import 'package:safe_manage/pages/alarm/alarm_picture_list_page/alarm_picture_list_page.dart';
import 'package:safe_manage/pages/alarm/alarm_type_list_page/alarm_type_list_binding.dart';
import 'package:safe_manage/pages/alarm/alarm_type_list_page/alarm_type_list_page.dart';
import 'package:safe_manage/pages/alarm/alarm_video_page/alarm_video_binding.dart';
import 'package:safe_manage/pages/alarm/alarm_video_page/alarm_video_page.dart';
import 'package:safe_manage/pages/base_tab_bar_module/base_tab_bar_binding.dart';
import 'package:safe_manage/pages/base_tab_bar_module/base_tab_bar_page.dart';
import 'package:safe_manage/pages/full_video_page/full_video_binding.dart';
import 'package:safe_manage/pages/full_video_page/full_video_page.dart';
import 'package:safe_manage/pages/gallery/gallery_camera/gallery_camera_player_page/gallery_camera_player_binding.dart';
import 'package:safe_manage/pages/gallery/gallery_camera/gallery_camera_player_page/gallery_camera_player_page.dart';
// import 'package:safe_manage/pages/gallery/gallery_device/gallery_device_info_page/gallery_device_info_binding.dart';
// import 'package:safe_manage/pages/gallery/gallery_device/gallery_device_info_page/gallery_device_info_page.dart';
import 'package:safe_manage/pages/gallery/gallery_device/gallery_device_page/gallery_device_binding.dart';
import 'package:safe_manage/pages/gallery/gallery_device/gallery_device_page/gallery_device_page.dart';
import 'package:safe_manage/pages/gallery/gallery_face/gallery_face_contrast_page/gallery_face_contrast_binding.dart';
import 'package:safe_manage/pages/gallery/gallery_face/gallery_face_contrast_page/gallery_face_contrast_page.dart';
import 'package:safe_manage/pages/gallery/gallery_face/gallery_face_info_page/gallery_face_info_binding.dart';
import 'package:safe_manage/pages/gallery/gallery_face/gallery_face_info_page/gallery_face_info_page.dart';
import 'package:safe_manage/pages/gallery/gallery_face/gallery_face_page/gallery_face_binding.dart';
import 'package:safe_manage/pages/gallery/gallery_face/gallery_face_page/gallery_face_page.dart';
import 'package:safe_manage/pages/gallery/gallery_face/gallery_face_picture_page/gallery_face_picture_binding.dart';
import 'package:safe_manage/pages/gallery/gallery_face/gallery_face_picture_page/gallery_face_picture_page.dart';
import 'package:safe_manage/pages/login/my_splash_page/my_splash_binding.dart';
import 'package:safe_manage/pages/login/my_splash_page/my_splash_page.dart';
import 'package:safe_manage/pages/my/revise_phone_page/revise_phone_binding.dart';
import 'package:safe_manage/pages/my/revise_phone_page/revise_phone_page.dart';
import '../pages/alarm/alarm_handle_page/alarm_handle_binding.dart';
import '../pages/alarm/alarm_info_page/alarm_info_binding.dart';
import '../pages/alarm/alarm_info_page/alarm_info_page.dart';
import '../pages/login/my_login_page/my_login_binding.dart';
import '../pages/login/my_login_page/my_login_page.dart';
import '../pages/login/privacy_agreement_page/privacy_agreement_binding.dart';
import '../pages/login/privacy_agreement_page/privacy_agreement_page.dart';
import '../pages/my/about_software_page/about_software_binding.dart';
import '../pages/my/about_software_page/about_software_page.dart';

class MyAppPages {
  static get getRoute {
    return [
      // ...AppPages.pages,
      GetPage(
        name: MyAppRoutes.mySplash,
        page: () => MySplashPage(),
        binding: MySplashBinding(),
      ),
      GetPage(
        name: MyAppRoutes.myLogin,
        page: () => MyLoginPage(),
        binding: MyLoginBinding(),
      ),
      GetPage(
        name: MyAppRoutes.baseTabBar,
        page: () => BaseTabBarPage(),
        binding: BaseTabBarBinding(),
      ),
      GetPage(
        name: MyAppRoutes.privacyAgreement,
        page: () => PrivacyAgreementPage(),
        binding: PrivacyAgreementBinding(),
      ),
      GetPage(
        name: MyAppRoutes.revisePhone,
        page: () => RevisePhonePage(),
        binding: RevisePhoneBinding(),
      ),
      GetPage(
        name: MyAppRoutes.aboutSoftware,
        page: () => AboutSoftwarePage(),
        binding: AboutSoftwareBinding(),
      ),
      GetPage(
        name: MyAppRoutes.alarmTypeList,
        page: () => AlarmTypeListPage(),
        binding: AlarmTypeListBinding(),
      ),
      GetPage(
        name: MyAppRoutes.alarmInfo,
        page: () => AlarmInfoPage(),
        binding: AlarmInfoBinding(),
      ),
      GetPage(
        name: MyAppRoutes.alarmVideo,
        page: () => AlarmVideoPage(),
        binding: AlarmVideoBinding(),
      ),
      GetPage(
        name: MyAppRoutes.alarmHandle,
        page: () => AlarmHandlePage(),
        binding: AlarmHandleBinding(),
      ),
      GetPage(
        name: MyAppRoutes.alarmPictureList,
        page: () => AlarmPictureListPage(),
        binding: AlarmPictureListBinding(),
      ),
      GetPage(
        name: MyAppRoutes.alarmPictureInfo,
        page: () => AlarmPictureInfoPage(),
        binding: AlarmPictureInfoBinding(),
      ),
      // GetPage(
      //   name: MyAppRoutes.galleryCamera,
      //   page: () => GalleryCameraPage(),
      //   binding: GalleryCameraBinding(),
      // ),
      GetPage(
        name: MyAppRoutes.galleryCameraPlayer,
        page: () => GalleryCameraPlayerPage(),
        binding: GalleryCameraPlayerBinding(),
      ),
      GetPage(
        name: MyAppRoutes.galleryDevice,
        page: () => GalleryDevicePage(),
        binding: GalleryDeviceBinding(),
      ),
      GetPage(
        name: MyAppRoutes.galleryFace,
        page: () => GalleryFacePage(),
        binding: GalleryFaceBinding(),
      ),
      // GetPage(
      //   name: MyAppRoutes.galleryDeviceInfo,
      //   page: () => GalleryDeviceInfoPage(),
      //   binding: GalleryDeviceInfoBinding(),
      // ),
      GetPage(
        name: MyAppRoutes.galleryFaceInfo,
        page: () => GalleryFaceInfoPage(),
        binding: GalleryFaceInfoBinding(),
      ),
      GetPage(
        name: MyAppRoutes.galleryFacePicture,
        page: () => GalleryFacePicturePage(),
        binding: GalleryFacePictureBinding(),
      ),
      GetPage(
        name: MyAppRoutes.galleryFaceContrast,
        page: () => GalleryFaceContrastPage(),
        binding: GalleryFaceContrastBinding(),
      ),
      GetPage(
        name: MyAppRoutes.fullVideo,
        page: () => FullVideoPage(),
        binding: FullVideoBinding(),
      ),
    ];
  }
}

class MyAppRoutes {
  static const mySplash = "/mySplash";
  static const myLogin = "/myLogin";
  static const baseTabBar = '/baseTabBar'; // Base Tab Bar page
  static const privacyAgreement = "/privacyAgreement";
  static const revisePhone = "/revisePhone";
  static const aboutSoftware = "/aboutSoftware";
  static const alarmTypeList = "/alarmTypeList";
  static const alarmInfo = "/alarmInfo";
  static const alarmVideo = "/alarmVideo";
  static const alarmHandle = "/alarmHandle";
  static const alarmPictureList = "/alarmPictureList";
  static const alarmPictureInfo = "/alarmPictureInfo";
  static const galleryCamera = "/galleryCamera";
  static const galleryCameraPlayer = "/galleryCameraPlayer";
  static const galleryDevice = "/galleryDevice";
  static const galleryDeviceInfo = "/galleryDeviceInfo";
  static const galleryFace = "/galleryFace";
  static const galleryFaceInfo = "/galleryFaceInfo";
  static const galleryFacePicture = "/galleryFacePicture";
  static const galleryFaceContrast = "/galleryFaceContrast";
  static const galleryFile = "/galleryFile";
  static const galleryVideo = "/galleryVideo";
  static const fullVideo = "/fullVideo";
}
